package com.deep.hystrix.client;


import org.springframework.stereotype.Component;

@Component
public class ProviderClientCallback implements ProviderClient {

    @Override
    public String echo(String name) {
        return "this is echo callback";
    }

    @Override
    public String error() {
        return "this is error callback";
    }

    @Override
    public String timeout() {
        return "this is timeout callback";
    }
}
